#ifndef __PLUG_MQTT_ANALYSIS_H__
#define __PLUG_MQTT_ANALYSIS_H__

#include "hi_type.h"
#include "MQTTClient.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif /* End of #ifdef __cplusplus */

/**
 * @brief    analysis mqtt payload.
 * @param[in] payloadptr: payload point
 * @param[in] s32PayLoadLen payload len
 * @param[in]topicName Information related topics
 * @return 0 success,non-zero error code.
 * @exception    None
 */
HI_S32 PLUG_MQTT_Analysis(HI_U8 *payloadptr, MQTTClient_message *message, HI_S8 *topicName);

#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif /* End of #ifdef __cplusplus */

#endif

